package xyz.scoder;

public class FirstPizzaStore extends PizzaStore {
    @Override
    protected Pizza createPizza(String type) {
        Pizza pizza = null;
        switch (type) {
            case "Anhui":
                pizza = new AnhuiPizza();
                break;
//            case "clam":
//                pizza = new ClamPizza();
//                break;
            default:
                System.out.println("Sorry，" + type + " pizza 暂未加入肯德基豪华午餐");
                break;
        }
        return pizza;
    }
}
